Notes/Domino Fix List
 |  |
SPR # SMOS5M2HUD | Fixed in 6.0.3 release |  |



Product Area: Server Technical Area: DECS Platform: Unix
SPR# SMOS5M2HUD - In some multibyte character situations, trailing spaces were incorrectly removed. This problem has been fixed in 6.0.3.

Technote Number: 1086615

Problem:
This issue was reported to Lotus software Quality Engineering and has been
addressed in Notes 6.0.3 and 6.5. In some multibyte character situations,
Notes was incorrectly removing trailing spaces. Now these situations are
handle correctly.
Excerpt from the Lotus Notes and Domino Release 6.0.3 MR fix list (available at
http://www.lotus.com/ldd):
SPR# SMOS5M2HUD - In some multibyte character situations, trailing spaces were
incorrectly removed. This problem has been fixed in 6.0.3.
Supporting Information:
As a potential workaround, use the SetFormat method before using Trim and set
the stream format to LCSTREAMFMT_LMBCS. Then set it back to the desired format
after the Trim. The reason for this is that Stream functions are always
carried out in UNICODE (characters are represented as two-byte integers), and
on UNIX, trailing blanks are not correctly checked for in LCStreamTrim.
See example below:
Option Public
Option Explicit
Uselsx "*lsxlc"
Sub Initialize
Dim teststream As New LCStream
Let teststream.Text = "test script "
Messagebox "(" & teststream.Text & ")"
teststream.SetFormat(LCSTREAMFMT_LMBCS)
teststream.Trim
Messagebox "(" & teststream.Text & ")"
End Sub
More >


Last Modified on 05/18/2007
Go back
 |